package com.syn.synold4s.adapter;

import android.content.Context;

import com.gaoyi.basemodule.baseAdapter.BaseAdapter;
import com.gaoyi.basemodule.baseAdapter.BaseViewHolder;
import com.gaoyi.basemodule.basebean.UserTagDto;
import com.syn.synold4s.R;
import com.syn.synold4s.databinding.ItemDrawerBinding;

public class DrawerAdapter extends BaseAdapter<ItemDrawerBinding, UserTagDto> {
    public DrawerAdapter(Context context) {
        super(context);
    }

    @Override
    protected void setBindingVariable(ItemDrawerBinding binding, int position) {
    }

    @Override
    protected void onBindItem(ItemDrawerBinding binding, UserTagDto item, int position) {
        binding.tvDrawer.setText(item.getName());
    }

    @Override
    protected void onCreateView(ItemDrawerBinding binding, BaseViewHolder<ItemDrawerBinding> holder) {

    }

    @Override
    protected int getLayoutResId() {
        return R.layout.item_drawer;
    }
}
